package cn.review.han;

public class demo {
    public static void main(String[] args) {
        int[]a = {1,3,5,7,9,11,15,17,19};
        int min =0;
        for(int j =0;j<a.length-1;j++){
            for(int i=0;i<a.length-1;i++){
                if(a[i]<a[i+1]){
                    min = a[i];
                    a[i]=a[i+1];
                    a[i+1]=min;
                }
            }
        }
        for(int i = 0;i<a.length;i++){
            System.out.println(a[i]);
        }


    }


}
